﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200110B RID: 4363
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectPamSkinCsReq : IMessage<SelectPamSkinCsReq>, IMessage, IEquatable<SelectPamSkinCsReq>, IDeepCloneable<SelectPamSkinCsReq>, IBufferMessage
	{
		// Token: 0x17003748 RID: 14152
		// (get) Token: 0x0600C341 RID: 49985 RVA: 0x00210314 File Offset: 0x0020E514
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectPamSkinCsReq> Parser
		{
			get
			{
				return SelectPamSkinCsReq._parser;
			}
		}

		// Token: 0x17003749 RID: 14153
		// (get) Token: 0x0600C342 RID: 49986 RVA: 0x0021031B File Offset: 0x0020E51B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectPamSkinCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700374A RID: 14154
		// (get) Token: 0x0600C343 RID: 49987 RVA: 0x0021032D File Offset: 0x0020E52D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectPamSkinCsReq.Descriptor;
			}
		}

		// Token: 0x0600C344 RID: 49988 RVA: 0x00210334 File Offset: 0x0020E534
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPamSkinCsReq()
		{
		}

		// Token: 0x0600C345 RID: 49989 RVA: 0x0021033C File Offset: 0x0020E53C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPamSkinCsReq(SelectPamSkinCsReq other) : this()
		{
			this.pamSkinId_ = other.pamSkinId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C346 RID: 49990 RVA: 0x00210361 File Offset: 0x0020E561
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPamSkinCsReq Clone()
		{
			return new SelectPamSkinCsReq(this);
		}

		// Token: 0x1700374B RID: 14155
		// (get) Token: 0x0600C347 RID: 49991 RVA: 0x00210369 File Offset: 0x0020E569
		// (set) Token: 0x0600C348 RID: 49992 RVA: 0x00210371 File Offset: 0x0020E571
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PamSkinId
		{
			get
			{
				return this.pamSkinId_;
			}
			set
			{
				this.pamSkinId_ = value;
			}
		}

		// Token: 0x0600C349 RID: 49993 RVA: 0x0021037A File Offset: 0x0020E57A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectPamSkinCsReq);
		}

		// Token: 0x0600C34A RID: 49994 RVA: 0x00210388 File Offset: 0x0020E588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectPamSkinCsReq other)
		{
			return other != null && (other == this || (this.PamSkinId == other.PamSkinId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C34B RID: 49995 RVA: 0x002103B8 File Offset: 0x0020E5B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PamSkinId != 0U)
			{
				num ^= this.PamSkinId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C34C RID: 49996 RVA: 0x002103F7 File Offset: 0x0020E5F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C34D RID: 49997 RVA: 0x002103FF File Offset: 0x0020E5FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C34E RID: 49998 RVA: 0x00210408 File Offset: 0x0020E608
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PamSkinId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.PamSkinId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C34F RID: 49999 RVA: 0x0021043C File Offset: 0x0020E63C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PamSkinId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PamSkinId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C350 RID: 50000 RVA: 0x0021047A File Offset: 0x0020E67A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectPamSkinCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PamSkinId != 0U)
			{
				this.PamSkinId = other.PamSkinId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C351 RID: 50001 RVA: 0x002104AB File Offset: 0x0020E6AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C352 RID: 50002 RVA: 0x002104B4 File Offset: 0x0020E6B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PamSkinId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004ED2 RID: 20178
		private static readonly MessageParser<SelectPamSkinCsReq> _parser = new MessageParser<SelectPamSkinCsReq>(() => new SelectPamSkinCsReq());

		// Token: 0x04004ED3 RID: 20179
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004ED4 RID: 20180
		public const int PamSkinIdFieldNumber = 8;

		// Token: 0x04004ED5 RID: 20181
		private uint pamSkinId_;
	}
}
